package com.kx.springmybatis.service;

import com.kx.springmybatis.UserService;

/**
 * @ClassName UserServiceImple
 * @Author Sun
 * @Date 2021/5/18 19:00
 */
public class UserServiceImpl implements UserService {
    @Override
    public int addUser() {
        //开启事务
        System.out.println("添加用户方法开始执行了");
        //提交事务
        return 1;
    }
}
